<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="eMMBox.Login" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
<link href="Css/Login.css" rel="Stylesheet" type="text/css" />
    <title></title>
    <style type="text/css">
        .style1
        {
            text-align: center;
            font-weight: bold;
            font-size: small;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="logo">
        <asp:Image  ImageUrl="~/Images/Logo.JPG" runat="server"/>
        <hr />
    </div>
    <div class="mydiv">
            <table>
                <tr>
                    <td class="style1" colspan="3" id="32" height="50px">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Image ID="Image1" runat="server" Height="32px" 
                            ImageUrl="~/Images/Login/key_32.png" Width="32px" />
&nbsp;
                        <asp:Label ID="lblLogin" runat="server" CssClass="font" Font-Size="Small" 
                            Text="Log in to eMMBox"></asp:Label>
                        <br />
                    </td>
                    <td class="style1" id="32" height="50px">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align: right">
                        <asp:Label ID="lblAccount" runat="server" Text="Account " CssClass="font"></asp:Label>
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="tbxAccount" runat="server" CssClass="font" Width="200px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="rvrAccount" runat="server" 
                            ControlToValidate="tbxAccount" Display="Dynamic" 
                            ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right" width="50%">
                        <asp:Label ID="lblPassword" runat="server" Text="Password" CssClass="font"></asp:Label>
                    </td>
                    <td width="50%" colspan="2">
                        <asp:TextBox ID="tbxPassword" runat="server" CssClass="font" 
                            TextMode="Password" Width="200px"></asp:TextBox>
                    </td>
                    <td width="50%">
                        <asp:RequiredFieldValidator ID="rvrPassword" runat="server" 
                            ControlToValidate="tbxPassword" Display="Dynamic" 
                            ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                        <asp:LinkButton ID="lbnForgotPassword" runat="server">Forgot Password?</asp:LinkButton>
                    </td>
                    <td align="right">
                        <asp:Button ID="btnLogin" runat="server" BackColor="#737373" Font-Bold="True" 
                            Font-Names="Segoe UI" Font-Size="Small" ForeColor="White" Text="Log in" 
                            Width="70px" onclick="btnLogin_Click" />
                    </td>
                    <td align="right">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td align="center" colspan="2">
                        <asp:Label ID="lblError" runat="server" ForeColor="#CC0000" 
                            Text="Invalid user or password." Visible="False"></asp:Label>
                    </td>
                    <td align="center">
                        &nbsp;</td>
                </tr>
                </table>
            </div>
    </form>
</body>
</html>
